/*!
Copyright (c) REBUILD <https://getrebuild.com/> and/or its owners. All rights reserved.

rebuild is dual-licensed under commercial and open source licenses (GPLv3).
See LICENSE and COMMERCIAL in the project root for license information.
*/

.protable .table .col-tree,
.protable .table .col-checkbox {
  padding-left: 0;
  padding-right: 0;
  text-align: left;
  width: 73px; 
  min-width: 73px;
}

.protable .table .col-checkbox {
  width: 38px;
  min-width: 38px;
}

.protable .table .col-tree {
  padding-left: 9px;
}

.protable .table .col-checkbox + .col-tree {
  padding-left: 0;
}

.protable .table .col-tree a {
  display: inline-block;
  width: 18px;
  height: 18px;
  line-height: 18px;
  font-size: 1.4rem;
  background-color: #eee;
  border-radius: 2px;
  text-align: center;
  color: #999;
}

.protable .table .col-tree a:hover {
  color: var(--rb-theme-color);
}

.protable .table .col-tree a > span {
  font-size: 11px;
  display: inline-block;
  transform: translateY(-2px);
}

.protable .table .col-tree a > span ~ i {
  display: none;
}

.protable .table .col-checkbox > label {
  margin-left: 10px;
}

.protable .table .col-checkbox .custom-control-label::before {
  border-radius: 2px;
}

.protable .table .col-checkbox .custom-control .custom-control-input:checked ~ .custom-control-label::after {
  margin-left: -1.2px;
}

.detail-form-header h5 > a {
  opacity: 0.6;
  padding: 0 8px;
  font-size: 15px;
  color: #616161;
  transform: translateY(1px);
  display: none;
}

.detail-form-header h5 > a:hover {
  opacity: 0.8;
}

.detail-form-header h5:hover > a {
  display: inline-block;
}



div.dataTables_wrapper div.dataTables_oper {
  font-size: 0;
}

div.dataTables_wrapper div.dataTables_oper .btn-space {
  margin-right: 10px;
}

div.dataTables_wrapper div.dataTables_oper .btn-space:last-child {
  margin-right: 5px;
}

div.dataTables_wrapper div.dataTables_oper.compact .btn {
  min-width: 68px;
}

div.dataTables_wrapper div.dataTables_oper.compact .btn-space {
  margin-right: 5px;
}

.rbform .dialog-footer .fjs-dock,
.rbform .detail-form-table .detail-form-action .fjs-dock,
.dataTables_wrapper .dataTables_oper .fjs-dock,
.related-list .related-toolbar .fjs-dock {
  display: inline-block;
}

.rbform .dialog-footer .fjs-dock:empty,
.rbform .detail-form-table .detail-form-action .fjs-dock:empty,
.dataTables_wrapper .dataTables_oper .fjs-dock:empty,
.view-body .view-operating .fjs-dock:empty,
.related-list .related-toolbar .fjs-dock:empty {
  display: none;
}

.rbform .dialog-footer .fjs-dock > *,
.rbform .detail-form-table .detail-form-action .fjs-dock > *,
.dataTables_wrapper .dataTables_oper .fjs-dock > *,
.related-list .related-toolbar .fjs-dock > * {
  margin-right: 10px;
}

.dataTables_wrapper .dataTables_oper .fjs-dock > *:last-child,
.dataTables_wrapper .dataTables_oper.compact .fjs-dock > * {
  margin-right: 5px;
}

.dataTables_oper .btn-space {
  margin-bottom: 0;
}

@media (max-width: 1464px) {
  .modal.rbview .modal-dialog .modal-content {
    width: 1220px;
    margin: 0 -1230px 0 0;
  }
  .page-aside {
    width: 230px;
  }
  .page-aside .tab-container,
  .page-aside.widgets .tab-container {
    min-width: 229px;
  }
  .rb-aside .page-head,
  .rb-aside .main-content {
    margin-left: 230px;
  }
}
